package com.huike.report.domain.vo;

import lombok.Data;

@Data
public class R {
    private String subject;
    private Integer num;

    public void equal(String subject){
        if (this.subject.equals("1")){
            setSubject("前端");
        }else if (this.subject.equals("0")){
            setSubject("JAVA");
        }
    }
}
